<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EDUKIT Developers: Класс News</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ukit.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EDUKIT Developers
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Руководство программиста</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Поиск');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_i_e_p.html">IEP</a></li><li class="navelem"><a class="el" href="namespace_i_e_p_1_1_structures.html">Structures</a></li><li class="navelem"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html">News</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Открытые члены</a> &#124;
<a href="#pri-attribs">Закрытые данные</a>  </div>
  <div class="headertitle">
<div class="title">Класс News</div>  </div>
</div><!--header-->
<div class="contents">

<p>Класс, который хранит в себе информацию об новости  
 <a href="class_i_e_p_1_1_structures_1_1_news.html#details">Подробнее...</a></p>

<p><code>#include &quot;iep/structures/news.class.php&quot;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:a64b9f1f3c455ca71225cabd61311622b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a64b9f1f3c455ca71225cabd61311622b">__construct</a> (string $caption, string $content, string $author, string $date_publication)</td></tr>
<tr class="separator:a64b9f1f3c455ca71225cabd61311622b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65470d0b5544996341e7c882cf75d17c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a65470d0b5544996341e7c882cf75d17c">setNewsID</a> (int $id)</td></tr>
<tr class="memdesc:a65470d0b5544996341e7c882cf75d17c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт идентификатор новости  <a href="#a65470d0b5544996341e7c882cf75d17c">Подробнее...</a><br /></td></tr>
<tr class="separator:a65470d0b5544996341e7c882cf75d17c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa58c03147cbf1fd4863bce1c16313ab4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#aa58c03147cbf1fd4863bce1c16313ab4">getNewsID</a> ()</td></tr>
<tr class="memdesc:aa58c03147cbf1fd4863bce1c16313ab4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает идентификатор новости  <a href="#aa58c03147cbf1fd4863bce1c16313ab4">Подробнее...</a><br /></td></tr>
<tr class="separator:aa58c03147cbf1fd4863bce1c16313ab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac4626af46212fd81df1d779ec422b7c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#aac4626af46212fd81df1d779ec422b7c">getCaption</a> ()</td></tr>
<tr class="memdesc:aac4626af46212fd81df1d779ec422b7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает заголовок  <a href="#aac4626af46212fd81df1d779ec422b7c">Подробнее...</a><br /></td></tr>
<tr class="separator:aac4626af46212fd81df1d779ec422b7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58e43f09a06ce4e29b192c4e17ce7915"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a58e43f09a06ce4e29b192c4e17ce7915">getContent</a> ()</td></tr>
<tr class="memdesc:a58e43f09a06ce4e29b192c4e17ce7915"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает содержимое новости  <a href="#a58e43f09a06ce4e29b192c4e17ce7915">Подробнее...</a><br /></td></tr>
<tr class="separator:a58e43f09a06ce4e29b192c4e17ce7915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5286e30390ae3e1b274940286493dd24"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a5286e30390ae3e1b274940286493dd24">getAuthor</a> ()</td></tr>
<tr class="memdesc:a5286e30390ae3e1b274940286493dd24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает автора новости  <a href="#a5286e30390ae3e1b274940286493dd24">Подробнее...</a><br /></td></tr>
<tr class="separator:a5286e30390ae3e1b274940286493dd24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6ad5e6ae8991fbc3008af07ff7861bb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#af6ad5e6ae8991fbc3008af07ff7861bb">getDatePublication</a> ()</td></tr>
<tr class="memdesc:af6ad5e6ae8991fbc3008af07ff7861bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает дату публикации  <a href="#af6ad5e6ae8991fbc3008af07ff7861bb">Подробнее...</a><br /></td></tr>
<tr class="separator:af6ad5e6ae8991fbc3008af07ff7861bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a329fd4838e2ea58036de67ee48e67297"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a329fd4838e2ea58036de67ee48e67297">setCaption</a> ($caption)</td></tr>
<tr class="memdesc:a329fd4838e2ea58036de67ee48e67297"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт заголовок  <a href="#a329fd4838e2ea58036de67ee48e67297">Подробнее...</a><br /></td></tr>
<tr class="separator:a329fd4838e2ea58036de67ee48e67297"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04a5eddb7c3abc7bf31fa25b58f046bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a04a5eddb7c3abc7bf31fa25b58f046bf">setContent</a> ($content)</td></tr>
<tr class="memdesc:a04a5eddb7c3abc7bf31fa25b58f046bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт содержимое новости  <a href="#a04a5eddb7c3abc7bf31fa25b58f046bf">Подробнее...</a><br /></td></tr>
<tr class="separator:a04a5eddb7c3abc7bf31fa25b58f046bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afde85a369fc83b442db3cf5c6ac31d4a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#afde85a369fc83b442db3cf5c6ac31d4a">setAuthor</a> ($author)</td></tr>
<tr class="memdesc:afde85a369fc83b442db3cf5c6ac31d4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт автора новости  <a href="#afde85a369fc83b442db3cf5c6ac31d4a">Подробнее...</a><br /></td></tr>
<tr class="separator:afde85a369fc83b442db3cf5c6ac31d4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa367ff421446447c8969bf1272893585"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#aa367ff421446447c8969bf1272893585">setDatePublication</a> ($date_publication)</td></tr>
<tr class="memdesc:aa367ff421446447c8969bf1272893585"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт дату публикации  <a href="#aa367ff421446447c8969bf1272893585">Подробнее...</a><br /></td></tr>
<tr class="separator:aa367ff421446447c8969bf1272893585"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Закрытые данные</h2></td></tr>
<tr class="memitem:ae97941710d863131c700f069b109991e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#ae97941710d863131c700f069b109991e">$id</a></td></tr>
<tr class="memdesc:ae97941710d863131c700f069b109991e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Идентификатор  <a href="#ae97941710d863131c700f069b109991e">Подробнее...</a><br /></td></tr>
<tr class="separator:ae97941710d863131c700f069b109991e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f9340ccb02c5d876a448a1d860f3812"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a4f9340ccb02c5d876a448a1d860f3812">$caption</a></td></tr>
<tr class="memdesc:a4f9340ccb02c5d876a448a1d860f3812"><td class="mdescLeft">&#160;</td><td class="mdescRight">Заголовок  <a href="#a4f9340ccb02c5d876a448a1d860f3812">Подробнее...</a><br /></td></tr>
<tr class="separator:a4f9340ccb02c5d876a448a1d860f3812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b284fe00866494b33afa80ba729bed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#a57b284fe00866494b33afa80ba729bed">$content</a></td></tr>
<tr class="memdesc:a57b284fe00866494b33afa80ba729bed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Содержание  <a href="#a57b284fe00866494b33afa80ba729bed">Подробнее...</a><br /></td></tr>
<tr class="separator:a57b284fe00866494b33afa80ba729bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac35b828f7d4064a7c9f849c255468ee3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#ac35b828f7d4064a7c9f849c255468ee3">$author</a></td></tr>
<tr class="memdesc:ac35b828f7d4064a7c9f849c255468ee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Автор  <a href="#ac35b828f7d4064a7c9f849c255468ee3">Подробнее...</a><br /></td></tr>
<tr class="separator:ac35b828f7d4064a7c9f849c255468ee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac6803b2b00734b62c0708129c44ac73"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_structures_1_1_news.html#aac6803b2b00734b62c0708129c44ac73">$date_publication</a></td></tr>
<tr class="memdesc:aac6803b2b00734b62c0708129c44ac73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Дата публикации  <a href="#aac6803b2b00734b62c0708129c44ac73">Подробнее...</a><br /></td></tr>
<tr class="separator:aac6803b2b00734b62c0708129c44ac73"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Класс, который хранит в себе информацию об новости </p>
<dl class="section author"><dt>Автор</dt><dd>pmswga </dd></dl>
<dl class="section version"><dt>Версия</dt><dd>1.0</dd></dl>
<p>Класс представляет собой сущность, в которую помещаются данные из базы данных </p>
</div><h2 class="groupheader">Конструктор(ы)</h2>
<a id="a64b9f1f3c455ca71225cabd61311622b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64b9f1f3c455ca71225cabd61311622b">&#9670;&nbsp;</a></span>__construct()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__construct </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$caption</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$content</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$author</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$date_publication</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$caption</td><td>- Заголовок </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$content</td><td>- Содержание новости</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$author</td><td>- Автор </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Формат отображения "Фамилия И.О."</dd></dl>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$date_publication</td><td>- Дата публикации </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Формат даты "d.m.Y H:i:s" </dd></dl>

</div>
</div>
<h2 class="groupheader">Методы</h2>
<a id="a5286e30390ae3e1b274940286493dd24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5286e30390ae3e1b274940286493dd24">&#9670;&nbsp;</a></span>getAuthor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAuthor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает автора новости </p>
<dl class="section return"><dt>Возвращает</dt><dd>Автора новости </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Формат отображения "Фамилия И.О." </dd></dl>

</div>
</div>
<a id="aac4626af46212fd81df1d779ec422b7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac4626af46212fd81df1d779ec422b7c">&#9670;&nbsp;</a></span>getCaption()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCaption </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает заголовок </p>
<dl class="section return"><dt>Возвращает</dt><dd>Заголовок новости </dd></dl>

</div>
</div>
<a id="a58e43f09a06ce4e29b192c4e17ce7915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58e43f09a06ce4e29b192c4e17ce7915">&#9670;&nbsp;</a></span>getContent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getContent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает содержимое новости </p>
<dl class="section return"><dt>Возвращает</dt><dd>Возвращает HTML содержимое новости </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Для декодирования и отображения HTML на сайте используется функция html_entity_decode() </dd></dl>

</div>
</div>
<a id="af6ad5e6ae8991fbc3008af07ff7861bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6ad5e6ae8991fbc3008af07ff7861bb">&#9670;&nbsp;</a></span>getDatePublication()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getDatePublication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает дату публикации </p>
<dl class="section return"><dt>Возвращает</dt><dd>Дату публикации </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Формат даты "d.m.Y H:i:s" </dd></dl>

</div>
</div>
<a id="aa58c03147cbf1fd4863bce1c16313ab4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa58c03147cbf1fd4863bce1c16313ab4">&#9670;&nbsp;</a></span>getNewsID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getNewsID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает идентификатор новости </p>
<dl class="section return"><dt>Возвращает</dt><dd>Идентификатор новости </dd></dl>

</div>
</div>
<a id="afde85a369fc83b442db3cf5c6ac31d4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afde85a369fc83b442db3cf5c6ac31d4a">&#9670;&nbsp;</a></span>setAuthor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setAuthor </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$author</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Задаёт автора новости </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$author</td><td>- Автор новости </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Формат отображения "Фамилия И.О." </dd></dl>

</div>
</div>
<a id="a329fd4838e2ea58036de67ee48e67297"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a329fd4838e2ea58036de67ee48e67297">&#9670;&nbsp;</a></span>setCaption()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setCaption </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$caption</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Задаёт заголовок </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$caption</td><td>- Заголовок новости </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a04a5eddb7c3abc7bf31fa25b58f046bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04a5eddb7c3abc7bf31fa25b58f046bf">&#9670;&nbsp;</a></span>setContent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setContent </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Задаёт содержимое новости </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$content</td><td>- Содержание новости </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aa367ff421446447c8969bf1272893585"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa367ff421446447c8969bf1272893585">&#9670;&nbsp;</a></span>setDatePublication()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setDatePublication </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$date_publication</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Задаёт дату публикации </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$date_publication</td><td>- Дата публикации </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Формат даты "d.m.Y H:i:s" </dd></dl>

</div>
</div>
<a id="a65470d0b5544996341e7c882cf75d17c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65470d0b5544996341e7c882cf75d17c">&#9670;&nbsp;</a></span>setNewsID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setNewsID </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Задаёт идентификатор новости </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$id</td><td>- Идентификатор новости </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Идентификатор из базы данных </dd></dl>

</div>
</div>
<h2 class="groupheader">Поля</h2>
<a id="ac35b828f7d4064a7c9f849c255468ee3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac35b828f7d4064a7c9f849c255468ee3">&#9670;&nbsp;</a></span>$author</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$author</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Автор </p>

</div>
</div>
<a id="a4f9340ccb02c5d876a448a1d860f3812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f9340ccb02c5d876a448a1d860f3812">&#9670;&nbsp;</a></span>$caption</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$caption</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Заголовок </p>

</div>
</div>
<a id="a57b284fe00866494b33afa80ba729bed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57b284fe00866494b33afa80ba729bed">&#9670;&nbsp;</a></span>$content</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$content</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Содержание </p>

</div>
</div>
<a id="aac6803b2b00734b62c0708129c44ac73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac6803b2b00734b62c0708129c44ac73">&#9670;&nbsp;</a></span>$date_publication</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$date_publication</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Дата публикации </p>

</div>
</div>
<a id="ae97941710d863131c700f069b109991e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae97941710d863131c700f069b109991e">&#9670;&nbsp;</a></span>$id</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">$id</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Идентификатор </p>

</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li>iep/structures/<a class="el" href="news_8class_8php.html">news.class.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Документация по EDUKIT Developers. Последние изменения: Вт 17 Окт 2017 18:09:13. Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
